import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { SystemMenuComponent } from './system-menu/system-menu.component';
import { SystemOrganizeComponent } from './system-organize/system-organize.component';
import { SystemRoleComponent } from './system-role/system-role.component';
import { SystemUserComponent } from './system-user/system-user.component';

const routes: Routes = [
	{
		path: 'system-user',
		component: SystemUserComponent
	},
	{
		path: 'system-role',
		component: SystemRoleComponent
	},
	{
		path: 'system-organize',
		component: SystemOrganizeComponent
	},
	{
		path: 'system-menu',
		component: SystemMenuComponent
	}
	
];

@NgModule({
	imports: [RouterModule.forChild(routes)],
	exports: [RouterModule]
})
export class SystemRoutingModule { }
